﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" x:Class="SilverlightWoZTouch.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" Loaded="MainPage_Loaded">

    <toolkit:DockPanel x:Name="LayoutRoot" LastChildFill="True">
    	<toolkit:DockPanel toolkit:DockPanel.Dock="Top" LastChildFill="True">
    		<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" toolkit:DockPanel.Dock="Top">
    			<Button Content="Start\Resume" Click="StartResume_Clicked"></Button>
				<Button Content="Pause"></Button>
				<Button Content="End"></Button>
			</StackPanel>
			<toolkit:Expander toolkit:DockPanel.Dock="Bottom" ExpandDirection="Down" Header="Leave comments">
				<TextBox></TextBox>
			</toolkit:Expander>
		</toolkit:DockPanel>
		<toolkit:Expander toolkit:DockPanel.Dock="Left" ExpandDirection="Right">
			<toolkit:Expander.Header>
				<toolkit:LayoutTransformer>
					<toolkit:LayoutTransformer.LayoutTransform>
            			<RotateTransform Angle="90"/>
        			</toolkit:LayoutTransformer.LayoutTransform>
					 <TextBlock Text="Task Info">
						 <TextBlock.RenderTransform>
						        <TransformGroup>
							        <ScaleTransform ScaleX="1" ScaleY="1"/>
							        <SkewTransform AngleX="0" AngleY="0"/>
							        <RotateTransform Angle="0"/>
							        <TranslateTransform X="0" Y="0"/>
						        </TransformGroup>
					        </TextBlock.RenderTransform>
	                </TextBlock>
				</toolkit:LayoutTransformer>
			</toolkit:Expander.Header>
			<TextBlock Text="This is some task info."></TextBlock>
		</toolkit:Expander>
		<InkPresenter Name="MainInkPresenter"></InkPresenter>
		
		
        <!--<Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <Button Canvas.Left="50" Canvas.Top="100" Content="Button" Height="31" Name="button1" Width="104" Click="button1_Click" />
            <Button Content="Button 2" Click="Button_Click"></Button>
        </StackPanel>
        <InkPresenter Grid.Row="1" Height="238" HorizontalAlignment="Stretch" Name="inkPresenter1" VerticalAlignment="Stretch" Width="Auto" Margin="0,0,0,-238">
        </InkPresenter>-->
    	
    </toolkit:DockPanel>
</UserControl>
